<#macro updatedSince minutes prefix>	
	<#assign prefix1=rc.getMessage(prefix) />
	<#if (minutes < 60) >
	  	<#if (minutes < 1) >
			Vừa mới cập nhật	  			
	  	<#else>
	  		${prefix1} <b>${minutes} phút</b>
	  	</#if>
	<#elseif (minutes >= 60) && (minutes < 1440) >
	  	<#assign hours = minutes/60 >
		${prefix1} <b>${hours?string("0")} giờ</b> 
		<#assign lackMinutes = minutes%60 >		
		<#if (lackMinutes > 0)>
			<b> ${lackMinutes?string("0")} phút</b>
		</#if>
	<#elseif (minutes > 1440) >
		<#assign days = minutes/1440 >		
		<#assign lackMinutes = minutes%1440 >
		<#if (lackMinutes > 0) >
			<#assign days = days + 1>
		</#if>
		<#if (days > 7) && (days < 30) >
			<#assign weeks = days/7 >
			<#assign lackDays = days%7 >
			<#if (lackDays > 0)>
				<#assign weeks = weeks + 1 >
				${prefix1} <b>${weeks?string("0")} tuần</b>
			</#if>
		<#elseif (days >= 30)>
			<#assign months = days/30 >
			<#assign lackDays = days%30 >
			<#if (lackDays > 0)>
				<#assign months = months + 1 >
				${prefix1} <b>${months?string("0")} tháng</b>
			</#if>			
		<#else>
			${prefix1} <b>${days?string("0")} ngày</b>
		</#if>
	</#if> 
</#macro>